package com.gusl.uploadapi.service;

import java.io.IOException;

import org.springframework.web.multipart.MultipartFile;

import com.gusl.uploadapi.exception.CommonException;
import com.gusl.uploadapi.vo.UploadedResult;

/**   
*    
* Project：uploadapi   
* Class name：UploadService   
* Class Description：   
* Author：gus   
* Create Time：2020年2月14日 下午7:04:06   
* @version        
*/
public interface UploadService
{
	public UploadedResult uploadImage(MultipartFile multipartFile,boolean isNeedThumb) throws IOException,CommonException;
	public UploadedResult deleteFile(String imageurl) throws IOException,CommonException;
}
